package com.wanwu.channel.dao.inter;

import com.wanwu.channel.dao.entity.ChannelDomesticDKEntity;
import org.apache.ibatis.annotations.Param;

public interface ChannelDomesticDKDao {

    int insert(ChannelDomesticDKEntity record);

    int insertSelective(ChannelDomesticDKEntity record);

    ChannelDomesticDKEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ChannelDomesticDKEntity record);

    int updateByPrimaryKey(ChannelDomesticDKEntity record);

    ChannelDomesticDKEntity selectByChannelNo(@Param("channelNo") String channelNo);

    ChannelDomesticDKEntity selectByChannelNoFMaster(@Param("channelNo") String channelNo);

    ChannelDomesticDKEntity selectByBizOrderNo(@Param("bizOrderNo") String bizOrderNo, @Param("bizCode") String bizCode);

    ChannelDomesticDKEntity selectByBizOrderNoFMaster(String bizOrderNo, String bizCode);
}